#include "sc/xml.h"

using namespace sc;

// RNG namespace
const xmlChar* xml::rng::NS            = (const xmlChar*) "sc";
const xmlChar* xml::rng::NS_VALUE      = (const xmlChar*) "http://relaxng.org/ns/structure/1.0";

// RNG Element
const xmlChar* xml::rng::_element      = (const xmlChar*) "element";
const xmlChar* xml::rng::_ref          = (const xmlChar*) "ref";
const xmlChar* xml::rng::_zeroOrMore   = (const xmlChar*) "zeroOrMore";
const xmlChar* xml::rng::_optional     = (const xmlChar*) "optional";

const xmlChar* xml::rng::_text         = (const xmlChar*) "text";
const xmlChar* xml::rng::_attribute    = (const xmlChar*) "attribute";
const xmlChar* xml::rng::_data         = (const xmlChar*) "data";
const xmlChar* xml::rng::_choice       = (const xmlChar*) "choice";
const xmlChar* xml::rng::_value        = (const xmlChar*) "value";

const xmlChar* xml::rng::_param        = (const xmlChar*) "param";

// RNG Attributes
const xmlChar* xml::rng::_name         = (const xmlChar*) "name";

const xmlChar* xml::rng::_type         = (const xmlChar*) "type";
const xmlChar* xml::rng::_int          = (const xmlChar*) "int";
const xmlChar* xml::rng::_integer      = (const xmlChar*) "integer";
const xmlChar* xml::rng::_float        = (const xmlChar*) "float";
const xmlChar* xml::rng::_string       = (const xmlChar*) "string";

const xmlChar* xml::rng::_minInclusive = (const xmlChar*) "minInclusive";
const xmlChar* xml::rng::_maxInclusive = (const xmlChar*) "maxInclusive";
const xmlChar* xml::rng::_minExclusive = (const xmlChar*) "minExclusive";
const xmlChar* xml::rng::_maxExclusive = (const xmlChar*) "maxExclusive";
const xmlChar* xml::rng::_pattern      = (const xmlChar*) "pattern";


// SCC Element
const xmlChar* xml::scc::_context         = (const xmlChar*) "sc-context";
const xmlChar* xml::scc::_file            = (const xmlChar*) "file";
const xmlChar* xml::scc::_mmi             = (const xmlChar*) "mmi";
const xmlChar* xml::scc::_element_label   = (const xmlChar*) "element-label";
const xmlChar* xml::scc::_attribute_label = (const xmlChar*) "attribute-label";

// SCC Attributes
const xmlChar* xml::scc::_title           = (const xmlChar*) "title";
const xmlChar* xml::scc::_rng             = (const xmlChar*) "rng";
const xmlChar* xml::scc::_setup           = (const xmlChar*) "setup";
const xmlChar* xml::scc::_path            = (const xmlChar*) "path";
const xmlChar* xml::scc::_for             = (const xmlChar*) "for";
const xmlChar* xml::scc::_value           = (const xmlChar*) "value";
const xmlChar* xml::scc::_default         = (const xmlChar*) "default";
const xmlChar* xml::scc::_icon            = (const xmlChar*) "icon";
const xmlChar* xml::scc::_error           = (const xmlChar*) "error";
const xmlChar* xml::scc::_help            = (const xmlChar*) "help";
